package com.bitcoin.scheduler.websocket.client.gateio.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(using = KlineQueryDeserializer.class)
public class KlineQueryResponse {
    private Integer id;
    private Object error;
    private List<KlineResult> result;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Object getError() {
        return error;
    }

    public void setError(Object error) {
        this.error = error;
    }

    public List<KlineResult> getResult() {
        return result;
    }

    public void setResult(List<KlineResult> result) {
        this.result = result;
    }
}
